<!DOCTYPE html>
<html ng-app>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body ng-init="bol=true;data=[{name:'李清照',age:24},{name:'李请请',age:25}]">
		<p ng-show="bol">青州已过万重三</p>
		<button ng-click="bol=!bol">点击</button>
		<select>
			<option ng-repeat="item in data" ng-bind="item.name" value=""></option>
		</select>
		<select ng-model="select" ng-options="item.name for item in data">
		</select>
		<p>你喜欢{{select.name}}</p>
	</body>
</html>
<!--
	ng-show 值为bol,如果为true,则元素显示,否则元素隐藏
	
	ng-hide 值为bol,如果为true,则元素隐藏,否则元素显示
	
	ng-click 事件指令,点击元素执行指令所包含的指令语句
-->
<script src="../js/angular.min.js" type="text/javascript" charset="utf-8"></script>